package com.turing.auth_server.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import result.Result;

@FeignClient("system-server")
public interface AdminService {

    @GetMapping("system/admin/getAdminByLoginAccount")
    Result getAdminByLoginAccount(@RequestParam("loginAccount")String loginAccount);
}
